#container {
    width: 100%;
    min-width: 780px;
	max-width: 1200px;
	margin: 0 auto;
    padding: 5px;
}

#header, #navigation, #content, #sidebar1, #sidebar2, #footer {
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

#header *, #navigation *, #sidebar1 *, #sidebar2 *, #content *, #footer * {
    padding: 5px;
}

#content input, #content select, #content textarea {
    padding: 0;
    margin-bottom: 8px;
}

#content select * {
    padding: 0;
}

#subcontent1, #subcontent2, #subcontent3 {
    padding: 0;
}

#main {
    width: 100%;
}

#navigation {
    float: left;
    width: 150px;
}

#content {
    margin-left: 160px;
    margin-right: 330px;
}

#content img {
    float: left;
    margin: 5px;
}

#subcontent1 {
    float: left;
    width: 150px;
}

#subcontent2 {
    margin-left: 160px;
}

#subcontent3 {
    clear: both;
}

#sidebar1 {
    float: right;
    width: 150px;
}

#sidebar2 {
    float: right;
    width: 150px;
}

#header, #main, #footer {
    clear: both;
}

#content label {
    float: left;
    width: 150px;
}

#content input[type="text"], #content input[type="password"] {
    width: 300px;
}

#content select {
    width: 305px;
}

#content input[type="checkbox"], #content input[type="radio"] {
    float: left;
    margin-top: 5px;
}

form br {
    clear: both;
}

form {
    overflow: auto;
}

/* IE Fixes */

* html #container {
    width: expression(document.body.clientWidth < 782? "780px" : document.body.clientWidth > 1202? "1200px" : "auto");
}